<template>
	<view class="container">
		<input class="input" type="text" placeholder="请输入文本" @input="onInput" />
		<button class="send-btn" @click="sendMessage">发送</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>

.container {
/* 	width: 100%;
	height: 100%; */
  display: flex;
  align-items: center;
}
.input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  margin-top: 700px;
}
.send-btn {
  padding: 0px 20px;
  margin-left: 10px;
  background-color: #007aff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 700px;
}
</style>
